import { Component, OnInit, Injector } from '@angular/core';
import { AppComponentBase } from '@shared/common/app-component-base';

@Component({
  selector: 'app-home',
  templateUrl: './home.component.html',
  styleUrls: ['./home.component.less']
})
export class HomeComponent extends AppComponentBase implements OnInit {
  data = [
    {
      title: this.l('login_page'),
      link: '/account/login'
    },
    {
      title: this.l('warn_manage'),
      link: '/center/alarmManagement',
      permission: 'A8_B25_'
    },
    {
      title: this.l('user_manage'),
      link: '/system/users',
      permission: 'A5_B11_'
    },
    {
      title: this.l('role_manage'),
      link: '/system/roles',
      permission: 'A5_B12_'
    },
  ];

  constructor(
    injector: Injector) {
    super(injector);
  }

  ngOnInit() {


  }

}
